home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 January: Mac OS SDK / Dev.CD Jan 99 SDK1.toast / Development Kits / Interfaces&Libraries / Universal / Interfaces / PInterfaces / Slots.p < prev    next >
Encoding:
Text File  |  1998-08-17  |  15.4 KB  |  418 lines  |  [TEXT/MPS ]

  1. {
  2.      File:        Slots.p
  3.  
  4.      Contains:    Slot Manager Interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Release:    Universal Interfaces 3.2
  8.  
  9.      Copyright:    © 1986-1993, 1995-1998 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:        For bug reports, consult the following page on
  12.                  the World Wide Web:
  13.  
  14.                      http://developer.apple.com/bugreporter/
  15.  
  16. }
  17. {$IFC UNDEFINED UsingIncludes}
  18. {$SETC UsingIncludes := 0}
  19. {$ENDC}
  20.  
  21. {$IFC NOT UsingIncludes}
  22.  UNIT Slots;
  23.  INTERFACE
  24. {$ENDC}
  25.  
  26. {$IFC UNDEFINED __SLOTS__}
  27. {$SETC __SLOTS__ := 1}
  28.  
  29. {$I+}
  30. {$SETC SlotsIncludes := UsingIncludes}
  31. {$SETC UsingIncludes := 1}
  32.  
  33. {$IFC UNDEFINED __MACTYPES__}
  34. {$I MacTypes.p}
  35. {$ENDC}
  36. {$IFC UNDEFINED __EVENTS__}
  37. {$I Events.p}
  38. {$ENDC}
  39. {$IFC UNDEFINED __FILES__}
  40. {$I Files.p}
  41. {$ENDC}
  42.  
  43.  
  44. {$PUSH}
  45. {$ALIGN MAC68K}
  46. {$LibExport+}
  47.  
  48.  
  49. CONST
  50.     fCardIsChanged                = 1;                            { Card is Changed field in StatusFlags field of sInfoArray }
  51.     fCkForSame                    = 0;                            { For SearchSRT. Flag to check for SAME sResource in the table.  }
  52.     fCkForNext                    = 1;                            { For SearchSRT. Flag to check for NEXT sResource in the table.  }
  53.     fWarmStart                    = 2;                            { If this bit is set then warm start else cold start. }
  54.  
  55.     stateNil                    = 0;                            { State }
  56.     stateSDMInit                = 1;                            { :Slot declaration manager Init }
  57.     statePRAMInit                = 2;                            { :sPRAM record init }
  58.     statePInit                    = 3;                            { :Primary init }
  59.     stateSInit                    = 4;                            { :Secondary init }
  60.  
  61.                                                                 {  flags for spParamData  }
  62.     fall                        = 0;                            {  bit 0: set=search enabled/disabled sRsrc's  }
  63.     foneslot                    = 1;                            {     1: set=search sRsrc's in given slot only  }
  64.     fnext                        = 2;                            {     2: set=search for next sRsrc  }
  65.  
  66.                                                                 {  Misc masks  }
  67.     catMask                        = $08;                            {  sets spCategory field of spTBMask (bit 3)  }
  68.     cTypeMask                    = $04;                            {  sets spCType    field of spTBMask (bit 2)  }
  69.     drvrSWMask                    = $02;                            {  sets spDrvrSW   field of spTBMask (bit 1)  }
  70.     drvrHWMask                    = $01;                            {  sets spDrvrHW      field of spTBMask (bit 0)  }
  71.  
  72.  
  73. TYPE
  74. {$IFC TYPED_FUNCTION_POINTERS}
  75.     SlotIntServiceProcPtr = FUNCTION(sqParameter: LONGINT): INTEGER;
  76. {$ELSEC}
  77.     SlotIntServiceProcPtr = Register68kProcPtr;
  78. {$ENDC}
  79.  
  80.     SlotIntServiceUPP = UniversalProcPtr;
  81.  
  82. CONST
  83.     uppSlotIntServiceProcInfo = $0000B822;
  84.  
  85. FUNCTION NewSlotIntServiceProc(userRoutine: SlotIntServiceProcPtr): SlotIntServiceUPP;
  86.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  87.     INLINE $2E9F;
  88.     {$ENDC}
  89.  
  90. FUNCTION CallSlotIntServiceProc(sqParameter: LONGINT; userRoutine: SlotIntServiceUPP): INTEGER;
  91.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  92.     {To be implemented:  Glue to move parameters into registers.}
  93.     {$ENDC}
  94.  
  95. TYPE
  96.     SlotIntQElementPtr = ^SlotIntQElement;
  97.     SlotIntQElement = RECORD
  98.         sqLink:                    Ptr;                                    { ptr to next element }
  99.         sqType:                    INTEGER;                                { queue type ID for validity }
  100.         sqPrio:                    INTEGER;                                { priority }
  101.         sqAddr:                    SlotIntServiceUPP;                        { interrupt service routine }
  102.         sqParm:                    LONGINT;                                { optional A1 parameter }
  103.     END;
  104.  
  105.     SQElemPtr                            = ^SlotIntQElement;
  106.     SpBlockPtr = ^SpBlock;
  107.     SpBlock = RECORD
  108.         spResult:                LONGINT;                                { FUNCTION Result }
  109.         spsPointer:                Ptr;                                    { structure pointer }
  110.         spSize:                    LONGINT;                                { size of structure }
  111.         spOffsetData:            LONGINT;                                { offset/data field used by sOffsetData }
  112.         spIOFileName:            Ptr;                                    { ptr to IOFile name for sDisDrvrName }
  113.         spsExecPBlk:            Ptr;                                    { pointer to sExec parameter block. }
  114.         spParamData:            LONGINT;                                { misc parameter data (formerly spStackPtr). }
  115.         spMisc:                    LONGINT;                                { misc field for SDM. }
  116.         spReserved:                LONGINT;                                { reserved for future expansion }
  117.         spIOReserved:            INTEGER;                                { Reserved field of Slot Resource Table }
  118.         spRefNum:                INTEGER;                                { RefNum }
  119.         spCategory:                INTEGER;                                { sType: Category }
  120.         spCType:                INTEGER;                                { Type }
  121.         spDrvrSW:                INTEGER;                                { DrvrSW }
  122.         spDrvrHW:                INTEGER;                                { DrvrHW }
  123.         spTBMask:                SInt8;                                    { type bit mask bits 0..3 mask words 0..3 }
  124.         spSlot:                    SInt8;                                    { slot number }
  125.         spID:                    SInt8;                                    { structure ID }
  126.         spExtDev:                SInt8;                                    { ID of the external device }
  127.         spHwDev:                SInt8;                                    { Id of the hardware device. }
  128.         spByteLanes:            SInt8;                                    { bytelanes from card ROM format block }
  129.         spFlags:                SInt8;                                    { standard flags }
  130.         spKey:                    SInt8;                                    { Internal use only }
  131.     END;
  132.  
  133.     SInfoRecordPtr = ^SInfoRecord;
  134.     SInfoRecord = RECORD
  135.         siDirPtr:                Ptr;                                    { Pointer to directory }
  136.         siInitStatusA:            INTEGER;                                { initialization E }
  137.         siInitStatusV:            INTEGER;                                { status returned by vendor init code }
  138.         siState:                SInt8;                                    { initialization state }
  139.         siCPUByteLanes:            SInt8;                                    { 0=[d0..d7] 1=[d8..d15] }
  140.         siTopOfROM:                SInt8;                                    { Top of ROM= $FssFFFFx: x is TopOfROM }
  141.         siStatusFlags:            SInt8;                                    { bit 0 - card is changed }
  142.         siTOConst:                INTEGER;                                { Time Out C for BusErr }
  143.         siReserved:                ARRAY [0..1] OF SInt8;                    { reserved }
  144.         siROMAddr:                Ptr;                                    {  addr of top of ROM  }
  145.         siSlot:                    SInt8;                                    {  slot number  }
  146.         siPadding:                ARRAY [0..2] OF SInt8;                    {  reserved  }
  147.     END;
  148.  
  149.     SInfoRecPtr                            = ^SInfoRecord;
  150.     SDMRecordPtr = ^SDMRecord;
  151.     SDMRecord = RECORD
  152.         sdBEVSave:                ProcPtr;                                { Save old BusErr vector }
  153.         sdBusErrProc:            ProcPtr;                                { Go here to determine if it is a BusErr }
  154.         sdErrorEntry:            ProcPtr;                                { Go here if BusErrProc finds real BusErr }
  155.         sdReserved:                LONGINT;                                { Reserved }
  156.     END;
  157.  
  158.     FHeaderRecPtr = ^FHeaderRec;
  159.     FHeaderRec = RECORD
  160.         fhDirOffset:            LONGINT;                                { offset to directory }
  161.         fhLength:                LONGINT;                                { length of ROM }
  162.         fhCRC:                    LONGINT;                                { CRC }
  163.         fhROMRev:                SInt8;                                    { revision of ROM }
  164.         fhFormat:                SInt8;                                    { format - 2 }
  165.         fhTstPat:                LONGINT;                                { test pattern }
  166.         fhReserved:                SInt8;                                    { reserved }
  167.         fhByteLanes:            SInt8;                                    { ByteLanes }
  168.     END;
  169.  
  170. {
  171.    
  172.        Extended Format header block  -  extended declaration ROM format header for super sRsrc directories.    <H2><SM0>
  173.    
  174. }
  175.  
  176.     XFHeaderRecPtr = ^XFHeaderRec;
  177.     XFHeaderRec = RECORD
  178.         fhXSuperInit:            LONGINT;                                { Offset to SuperInit SExecBlock    <fhFormat,offset> }
  179.         fhXSDirOffset:            LONGINT;                                { Offset to SuperDirectory            <$FE,offset> }
  180.         fhXEOL:                    LONGINT;                                { Psuedo end-of-list                <$FF,nil> }
  181.         fhXSTstPat:                LONGINT;                                { TestPattern }
  182.         fhXDirOffset:            LONGINT;                                { Offset to (minimal) directory }
  183.         fhXLength:                LONGINT;                                { Length of ROM }
  184.         fhXCRC:                    LONGINT;                                { CRC }
  185.         fhXROMRev:                SInt8;                                    { Revision of ROM }
  186.         fhXFormat:                SInt8;                                    { Format-2 }
  187.         fhXTstPat:                LONGINT;                                { TestPattern }
  188.         fhXReserved:            SInt8;                                    { Reserved }
  189.         fhXByteLanes:            SInt8;                                    { ByteLanes }
  190.     END;
  191.  
  192.     SEBlockPtr = ^SEBlock;
  193.     SEBlock = PACKED RECORD
  194.         seSlot:                    UInt8;                                    { Slot number. }
  195.         sesRsrcId:                UInt8;                                    { sResource Id. }
  196.         seStatus:                INTEGER;                                { Status of code executed by sExec. }
  197.         seFlags:                UInt8;                                    { Flags }
  198.         seFiller0:                UInt8;                                    { Filler, must be SignedByte to align on odd boundry }
  199.         seFiller1:                UInt8;                                    { Filler }
  200.         seFiller2:                UInt8;                                    { Filler }
  201.         seResult:                LONGINT;                                { Result of sLoad. }
  202.         seIOFileName:            LONGINT;                                { Pointer to IOFile name. }
  203.         seDevice:                UInt8;                                    { Which device to read from. }
  204.         sePartition:            UInt8;                                    { The partition. }
  205.         seOSType:                UInt8;                                    { Type of OS. }
  206.         seReserved:                UInt8;                                    { Reserved field. }
  207.         seRefNum:                UInt8;                                    { RefNum of the driver. }
  208.         seNumDevices:            UInt8;                                    {  Number of devices to load. }
  209.         seBootState:            UInt8;                                    { State of StartBoot code. }
  210.         filler:                    SInt8;
  211.     END;
  212.  
  213. {  Principle  }
  214. FUNCTION SReadByte(spBlkPtr: SpBlockPtr): OSErr;
  215.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  216.     INLINE $205F, $7000, $A06E, $3E80;
  217.     {$ENDC}
  218. FUNCTION SReadWord(spBlkPtr: SpBlockPtr): OSErr;
  219.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  220.     INLINE $205F, $7001, $A06E, $3E80;
  221.     {$ENDC}
  222. FUNCTION SReadLong(spBlkPtr: SpBlockPtr): OSErr;
  223.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  224.     INLINE $205F, $7002, $A06E, $3E80;
  225.     {$ENDC}
  226. FUNCTION SGetCString(spBlkPtr: SpBlockPtr): OSErr;
  227.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  228.     INLINE $205F, $7003, $A06E, $3E80;
  229.     {$ENDC}
  230. FUNCTION SGetBlock(spBlkPtr: SpBlockPtr): OSErr;
  231.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  232.     INLINE $205F, $7005, $A06E, $3E80;
  233.     {$ENDC}
  234. FUNCTION SFindStruct(spBlkPtr: SpBlockPtr): OSErr;
  235.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  236.     INLINE $205F, $7006, $A06E, $3E80;
  237.     {$ENDC}
  238. FUNCTION SReadStruct(spBlkPtr: SpBlockPtr): OSErr;
  239.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  240.     INLINE $205F, $7007, $A06E, $3E80;
  241.     {$ENDC}
  242. {  Special  }
  243. FUNCTION SReadInfo(spBlkPtr: SpBlockPtr): OSErr;
  244.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  245.     INLINE $205F, $7010, $A06E, $3E80;
  246.     {$ENDC}
  247. FUNCTION SReadPRAMRec(spBlkPtr: SpBlockPtr): OSErr;
  248.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  249.     INLINE $205F, $7011, $A06E, $3E80;
  250.     {$ENDC}
  251. FUNCTION SPutPRAMRec(spBlkPtr: SpBlockPtr): OSErr;
  252.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  253.     INLINE $205F, $7012, $A06E, $3E80;
  254.     {$ENDC}
  255. FUNCTION SReadFHeader(spBlkPtr: SpBlockPtr): OSErr;
  256.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  257.     INLINE $205F, $7013, $A06E, $3E80;
  258.     {$ENDC}
  259. FUNCTION SNextSRsrc(spBlkPtr: SpBlockPtr): OSErr;
  260.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  261.     INLINE $205F, $7014, $A06E, $3E80;
  262.     {$ENDC}
  263. FUNCTION SNextTypeSRsrc(spBlkPtr: SpBlockPtr): OSErr;
  264.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  265.     INLINE $205F, $7015, $A06E, $3E80;
  266.     {$ENDC}
  267. FUNCTION SRsrcInfo(spBlkPtr: SpBlockPtr): OSErr;
  268.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  269.     INLINE $205F, $7016, $A06E, $3E80;
  270.     {$ENDC}
  271. FUNCTION SDisposePtr(spBlkPtr: SpBlockPtr): OSErr;
  272.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  273.     INLINE $205F, $7017, $A06E, $3E80;
  274.     {$ENDC}
  275. FUNCTION SCkCardStat(spBlkPtr: SpBlockPtr): OSErr;
  276.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  277.     INLINE $205F, $7018, $A06E, $3E80;
  278.     {$ENDC}
  279. FUNCTION SReadDrvrName(spBlkPtr: SpBlockPtr): OSErr;
  280.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  281.     INLINE $205F, $7019, $A06E, $3E80;
  282.     {$ENDC}
  283. FUNCTION SFindSRTRec(spBlkPtr: SpBlockPtr): OSErr;
  284.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  285.     INLINE $205F, $701A, $A06E, $3E80;
  286.     {$ENDC}
  287. FUNCTION SFindDevBase(spBlkPtr: SpBlockPtr): OSErr;
  288.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  289.     INLINE $205F, $701B, $A06E, $3E80;
  290.     {$ENDC}
  291. FUNCTION SFindBigDevBase(spBlkPtr: SpBlockPtr): OSErr;
  292.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  293.     INLINE $205F, $701C, $A06E, $3E80;
  294.     {$ENDC}
  295. {  Advanced  }
  296. FUNCTION InitSDeclMgr(spBlkPtr: SpBlockPtr): OSErr;
  297.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  298.     INLINE $205F, $7020, $A06E, $3E80;
  299.     {$ENDC}
  300. FUNCTION SPrimaryInit(spBlkPtr: SpBlockPtr): OSErr;
  301.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  302.     INLINE $205F, $7021, $A06E, $3E80;
  303.     {$ENDC}
  304. FUNCTION SCardChanged(spBlkPtr: SpBlockPtr): OSErr;
  305.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  306.     INLINE $205F, $7022, $A06E, $3E80;
  307.     {$ENDC}
  308. FUNCTION SExec(spBlkPtr: SpBlockPtr): OSErr;
  309.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  310.     INLINE $205F, $7023, $A06E, $3E80;
  311.     {$ENDC}
  312. FUNCTION SOffsetData(spBlkPtr: SpBlockPtr): OSErr;
  313.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  314.     INLINE $205F, $7024, $A06E, $3E80;
  315.     {$ENDC}
  316. FUNCTION SInitPRAMRecs(spBlkPtr: SpBlockPtr): OSErr;
  317.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  318.     INLINE $205F, $7025, $A06E, $3E80;
  319.     {$ENDC}
  320. FUNCTION SReadPBSize(spBlkPtr: SpBlockPtr): OSErr;
  321.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  322.     INLINE $205F, $7026, $A06E, $3E80;
  323.     {$ENDC}
  324. FUNCTION SCalcStep(spBlkPtr: SpBlockPtr): OSErr;
  325.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  326.     INLINE $205F, $7028, $A06E, $3E80;
  327.     {$ENDC}
  328. FUNCTION SInitSRsrcTable(spBlkPtr: SpBlockPtr): OSErr;
  329.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  330.     INLINE $205F, $7029, $A06E, $3E80;
  331.     {$ENDC}
  332. FUNCTION SSearchSRT(spBlkPtr: SpBlockPtr): OSErr;
  333.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  334.     INLINE $205F, $702A, $A06E, $3E80;
  335.     {$ENDC}
  336. FUNCTION SUpdateSRT(spBlkPtr: SpBlockPtr): OSErr;
  337.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  338.     INLINE $205F, $702B, $A06E, $3E80;
  339.     {$ENDC}
  340. FUNCTION SCalcSPointer(spBlkPtr: SpBlockPtr): OSErr;
  341.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  342.     INLINE $205F, $702C, $A06E, $3E80;
  343.     {$ENDC}
  344. FUNCTION SGetDriver(spBlkPtr: SpBlockPtr): OSErr;
  345.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  346.     INLINE $205F, $702D, $A06E, $3E80;
  347.     {$ENDC}
  348. FUNCTION SPtrToSlot(spBlkPtr: SpBlockPtr): OSErr;
  349.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  350.     INLINE $205F, $702E, $A06E, $3E80;
  351.     {$ENDC}
  352. FUNCTION SFindSInfoRecPtr(spBlkPtr: SpBlockPtr): OSErr;
  353.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  354.     INLINE $205F, $702F, $A06E, $3E80;
  355.     {$ENDC}
  356. FUNCTION SFindSRsrcPtr(spBlkPtr: SpBlockPtr): OSErr;
  357.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  358.     INLINE $205F, $7030, $A06E, $3E80;
  359.     {$ENDC}
  360. FUNCTION SDeleteSRTRec(spBlkPtr: SpBlockPtr): OSErr;
  361.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  362.     INLINE $205F, $7031, $A06E, $3E80;
  363.     {$ENDC}
  364. FUNCTION OpenSlot(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
  365. FUNCTION OpenSlotSync(paramBlock: ParmBlkPtr): OSErr;
  366.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  367.     INLINE $205F, $A200, $3E80;
  368.     {$ENDC}
  369. FUNCTION OpenSlotAsync(paramBlock: ParmBlkPtr): OSErr;
  370.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  371.     INLINE $205F, $A600, $3E80;
  372.     {$ENDC}
  373. {  Device Manager Slot Support  }
  374. FUNCTION SIntInstall(sIntQElemPtr: SQElemPtr; theSlot: INTEGER): OSErr;
  375.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  376.     INLINE $301F, $205F, $A075, $3E80;
  377.     {$ENDC}
  378. FUNCTION SIntRemove(sIntQElemPtr: SQElemPtr; theSlot: INTEGER): OSErr;
  379.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  380.     INLINE $301F, $205F, $A076, $3E80;
  381.     {$ENDC}
  382. FUNCTION SVersion(spBlkPtr: SpBlockPtr): OSErr;
  383.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  384.     INLINE $205F, $7008, $A06E, $3E80;
  385.     {$ENDC}
  386. FUNCTION SetSRsrcState(spBlkPtr: SpBlockPtr): OSErr;
  387.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  388.     INLINE $205F, $7009, $A06E, $3E80;
  389.     {$ENDC}
  390. FUNCTION InsertSRTRec(spBlkPtr: SpBlockPtr): OSErr;
  391.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  392.     INLINE $205F, $700A, $A06E, $3E80;
  393.     {$ENDC}
  394. FUNCTION SGetSRsrc(spBlkPtr: SpBlockPtr): OSErr;
  395.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  396.     INLINE $205F, $700B, $A06E, $3E80;
  397.     {$ENDC}
  398. FUNCTION SGetTypeSRsrc(spBlkPtr: SpBlockPtr): OSErr;
  399.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  400.     INLINE $205F, $700C, $A06E, $3E80;
  401.     {$ENDC}
  402. FUNCTION SGetSRsrcPtr(spBlkPtr: SpBlockPtr): OSErr;
  403.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  404.     INLINE $205F, $701D, $A06E, $3E80;
  405.     {$ENDC}
  406.  
  407.  
  408. {$ALIGN RESET}
  409. {$POP}
  410.  
  411. {$SETC UsingIncludes := SlotsIncludes}
  412.  
  413. {$ENDC} {__SLOTS__}
  414.  
  415. {$IFC NOT UsingIncludes}
  416.  END.
  417. {$ENDC}
  418.